from random import random

from http_request_randomizer.requests.proxy.requestProxy import RequestProxy


if __name__=='__main__':
    req_proxy = RequestProxy()  # you may get different number of proxy when  you run this at each time
    proxies = req_proxy.get_proxy_list()  # this will create proxy list
    PROXY = proxies[random.choice(range(len(proxies)))].get_address()
    print(PROXY)